package com.ruoyi.project.relation.enums;

import org.shoukaiseki.ruoyi.Interface.DictTypeEnumData;
import org.shoukaiseki.ruoyi.annotation.DictTypeEnum;

/**
 *
 **/
//@DictTypeEnum(dictType = "business_link_type",dictName = "链路类型",remark = "")
public enum BusinessLinkType  implements DictTypeEnumData {

    DEFAULT(0,"默认"),
    ONE(1,"链路1","当前在使用")
            ;

    private Integer value;

    private String label;

    private int sort=0;

    private String remark="";

    private BusinessLinkType(Integer value, String label) {
        this.value = value;
        this.label = label;
        this.sort = value;
    }

    private BusinessLinkType(Integer value, String label,  String remark) {
        this.value = value;
        this.label = label;
        this.sort = value;
        this.remark = remark;
    }


    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }

    @Override
    public String getValueString() {
        return value.toString();
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}